/*******************************************************************************
MPLAB Harmony Graphics Composer Generated Implementation File

File Name:
libaria_events.c

Summary:
Build-time generated implementation from the MPLAB Harmony
Graphics Composer.

Description:
Build-time generated implementation from the MPLAB Harmony
Graphics Composer.

Created with MPLAB Harmony Version 2.04
*******************************************************************************/
// DOM-IGNORE-BEGIN
/*******************************************************************************
Copyright (c) 2013-2014 released Microchip Technology Inc. All rights reserved.

Microchip licenses to you the right to use, modify, copy and distribute
Software only when embedded on a Microchip microcontroller or digital signal
controller that is integrated into your product or third party product
(pursuant to the sublicense terms in the accompanying license agreement).

You should refer to the license agreement accompanying this Software for
additional information regarding your rights and obligations.

SOFTWARE AND DOCUMENTATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF
MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER
CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR
OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR
CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF
SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
(INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
*******************************************************************************/
// DOM-IGNORE-END

#include "gfx/libaria/libaria_events.h"


#include "app.h"
#include "stdio.h"

char charBuf[20];
extern char Buf_gfx[APP_READ_BUFFER_SIZE]; //
laString str1;


void MyLibariaEvents(void) //ラベルウィジェット更新 //APP_Tasks ()からの呼び出し
{
sprintf(charBuf, "%s", Buf_gfx); //文字列に変換
str1 = laString_CreateFromCharBuffer(charBuf, //laStringオブジェクト作成、定義
GFXU_StringFontIndexLookup(&stringTable, string_String001, 0));
laLabelWidget_SetText(LabelWidget1, str1); //ラベルウィジェットに表示
}